package com.erp.wallet.domain.vo;

import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.ruoyi.common.core.web.oldDomain.BaseEntity;
import lombok.Data;
import lombok.EqualsAndHashCode;

import java.math.BigDecimal;

/**
 * @Description: 分销收支记录信息对象 erp_distribution_user_income
 * @Author: j.zh
 * @Date: 2024/5/2
 * @Version: 4.0.0
**/
@Data
@EqualsAndHashCode(callSuper = true)
@TableName("erp_distribution_user_income")
public class ErpDistributionUserIncomeVo extends BaseEntity {

    private static final long serialVersionUID=1L;

    /**
     * 收支记录id
     */
    @TableId(value = "income_id")
    private Long incomeId;
    /**
     * 分销员id
     */
    private Integer distributionUserId;
    /**
     * 钱包id
     */
    private Long walletId;
    /**
     * 收支类型，查看字典表
     */
    private Integer incomeType;
    /**
     * 收支状态，查看字典表
     */
    private Integer state;
    /**
     * 收支数额
     */
    private BigDecimal incomeAmount;
    /**
     * 收入来源，店铺、提成、奖金等，查看字典表
     */
    private String incomeSource;
    /**
     * 订单来源，比如：收入来源于店铺，则记录店铺cn码
     */
    private String orderSource;
    /**
     * 关联订单项order_id
     */
    private String orderId;
    /**
     * 关联订购流水号
     */
    private String orderNumber;
    /**
     * 操作人id
     */
    private String modifier;

}
